VT-d: some cleanups
authorFeng Wu <feng.wu@intel.com>
Fri, 7 Apr 2017 13:37:33 +0000 (15:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Apr 2017 13:37:33 +0000 (15:37 +0200)
commit90bc123d26374e6045542d10e74833d19d1338d9
tree25ba3141f2fd4e6f9173603cc2ae9e7ade75bcec
parenta5e25908d18d30722a99f0e2e75985634ab0933c
VT-d: some cleanups

Use type-safe structure assignment instead of memcpy()
Use sizeof(*iremap_entry).

Signed-off-by: Feng Wu <feng.wu@intel.com>
Signed-off-by: Chao Gao <chao.gao@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/intremap.c